<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cart</title>
</head>
<body>
<h1>购物车</h1>

<table border="2">
	<tr>
		<th>商品</th>
		<th>数量</th>
	</tr>
	<c:forEach items="${order }" var="o">
	<tr>
		<td>${o.bid }</td>
		<td>${o.num }</td>
	</tr>
	</c:forEach>
</table>
<br/>
<a href="home">返回主页</a>
<a href="buy">确认购买</a>
</body>
</html>